package com.baizhi.service;

import com.baizhi.entity.Guru;

import java.util.Map;

public interface GuruService {

    //展示全部
    public Map selectAll(int page,int limit,String guruName);

    //增加一条数据
    public Map insert(Guru guru);

    //删除一条数据
    public Map delete(int id);

    //修改一条数据
    public Map update(Guru guru);

    public Map updatea(Guru guru);

    //查询一条数据
    public Guru selectOne(int id);

    //更改上师状态
    public Map updates(Guru guru);


    public Map selectAlls();
}
